package com.suneast.suneaststore.modules.personal.order.event;

import com.suneast.suneaststore.modules.common.Flag;

public class CustomizeResult {
    private @Flag.Result
    final int value;
    private final String ordersn;
    private final String msg;

    public CustomizeResult(@Flag.Result int value, String ordersn, String msg) {
        this.value = value;
        this.ordersn = ordersn;
        this.msg = msg;
    }

    public CustomizeResult(@Flag.Result int value, String msg) {
        this.value = value;
        this.ordersn = null;
        this.msg = msg;
    }

    public int getValue() {
        return value;
    }

    public String getOrdersn() {
        return ordersn;
    }

    public String getMsg() {
        return msg;
    }
}
